<!--
  use a tag for now. Later replaced with link_to method.
  delete this comment while finish.
-->
<% unless session[:user_name] -%>
  <li><%= link_to("Login", :controller => "login", :action => "index") -%></li>
  <li><%= link_to("Sign Up", :controller => "login", :action => "signup") -%></li>
<% else -%>
  <li><%= link_to("Profile", :controller => "message", :action => "index") -%></li>
  <li><%= link_to("Settings", :controller => "settings", :action => "index") -%></li>
  <li><%= link_to("Logout", :controller => "login", :action => "logout") -%></li>
<% end -%>